@charset "UTF-8";

/*
 * Copyright Thoughtworks, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import "bourbon/core/bourbon";
@import "@fortawesome/fontawesome-free/scss/fontawesome";

$fa-font-path: "@fortawesome/fontawesome-free/webfonts";

@include font-face(
  $font-family: FontAwesome,
  $file-path: "#{$fa-font-path}/fa-solid-900",
  $file-formats: ("woff2"),
) {
  font-style: normal;
  font-weight: 900;
}

@include font-face(
  $font-family: FontAwesomeBrands,
  $file-path: "#{$fa-font-path}/fa-brands-400",
  $file-formats: ("woff2"),
  $asset-pipeline: true
) {
  font-style: normal;
  font-weight: 400;
}

// For backward compatibility with old Font Awesome 4 where certain plugins/places use the
// old CSS prefixes and/or font family names hard-coded in their views. Overrides default font-family names
// from within @fortawesome/fontawesome-free/scss/core to match how we declare font-faces
.fa, .fa-classic, .fas, .fa-solid, .far, .fa-regular {
  font-family: FontAwesome, sans-serif;
}

.fab, .fa-brands {
  font-family: FontAwesomeBrands, sans-serif;
}
